﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using DAL.Repositories;
using EntitiesLayer;
using System.Drawing;
using DAL.Repositorios;

namespace BLL
{
    public static class Constantes
    {

        private static readonly IList<string> nacionalidades = UnitOfWork.ConstantesRepository.List("Pais");
        public static IReadOnlyCollection<string> Nacionalidades
        {
            get { return new ReadOnlyCollection<string>(nacionalidades); }
        }  
        private static readonly  IList<string> tiposId = UnitOfWork.ConstantesRepository.List("Id");
        public static  IReadOnlyCollection<string> TiposId
        {
            get { return new ReadOnlyCollection<string>(tiposId); }
        }
        private static readonly IList<string> tiposTelefonos = UnitOfWork.ConstantesRepository.List("Telefono");

        public static  IReadOnlyCollection<string> TiposTelefonos
        {
            get { return new ReadOnlyCollection<string>(tiposTelefonos); }
        }
        private static readonly IList<string> tiposCorreos = UnitOfWork.ConstantesRepository.List("Correo");

        public static IReadOnlyCollection<string> TiposCorreos
        {
            get { return new ReadOnlyCollection<string>(tiposCorreos); }
        }

        private static readonly IList<string> tiposPerimetros = UnitOfWork.ConstantesRepository.List("Perimetro");

        public static IReadOnlyCollection<string> TiposPerimetros
        {
            get { return new ReadOnlyCollection<string>(tiposPerimetros); }
        }

        private static readonly IList<string> tiposPliegues = UnitOfWork.ConstantesRepository.List("Pliegue");

        public static IReadOnlyCollection<string> TiposPliegues
        {
            get { return new ReadOnlyCollection<string>(tiposPliegues); }
        } 

    }
}
